package ee.maoinvest.utils;

import java.util.ResourceBundle;

import ee.maoinvest.GeneralConstants;

public class TestPropertiesFileLoader
{
	public static void main(String[] args) 
	{
		PropertiesFileLoader propertiesFileLoader = new PropertiesFileLoader(GeneralConstants.CONNECTION_PROPERTIES_PATH);
		
		ResourceBundle resourceBundle = propertiesFileLoader.getResourceBundleContainingProperties();
		System.out.println(resourceBundle.getString("db_user"));
		System.out.println(resourceBundle.getString("db_password"));
		System.out.println(resourceBundle.getString("db_databaseName"));
		System.out.println(resourceBundle.getString("db_host"));
		System.out.println(resourceBundle.getString("db_port"));
		System.out.println(resourceBundle.getString("db_type"));
	}
}
